<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>Document</title>
		<style type="text/css">
			* {
				padding: 0;
				margin: 0;
			}

			.box {
				height: 100vh;
				width: 100vw;
				background: #ccc;
				display: flex;
				flex-direction: column;
			}

			/* .content {
				background: orange;
				flex-grow: 1;
				overflow: auto;
				-webkit-overflow-scrolling: touch;
			} */
			
			.rows:hover{
				overflow: hidden;
			}
			.rows {
				flex: 1;
				background: orange;
				overflow: auto;
				height: 230px;
				-webkit-overflow-scrolling: touch;
			}
			.rows::-webkit-scrollbar-track-piece {
				background-color: rgba(0, 0, 0, 0);
				border-left: 1px solid rgba(0, 0, 0, 0);
			}
			.rows::-webkit-scrollbar {
				width: 8px;				// 竖向滚动条宽度
				height: 13px;			// 横向滚动条宽度
				-webkit-border-radius: 2px;
				-moz-border-radius: 2px;
				border-radius: 2px;
			}
			.rows::-webkit-scrollbar-thumb {
				background-color: red;
				background-clip: padding-box;
				-webkit-border-radius: 2px;
				-moz-border-radius: 2px;
				border-radius: 2px;
				min-height: 28px;
			}
			.rows::-webkit-scrollbar-thumb:hover {
				background-color: green;
				-webkit-border-radius: 2px;
				-moz-border-radius: 2px;
				border-radius: 2px;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<h1>111111</h1>
			<div class="content rows">
				<p>11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
				<p>22222222</p>
			</div>
			<h1>111111</h1>

		</div>
	</body>
</html>
